home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deadlock 10
/
Deadlock 10.adf
/
Installdeadlock
< prev
next >
Wrap
Text File
|
1996-03-27
|
3KB
|
96 lines
;Install script for Deadlock Ish #10 HD-Compat
;---------------------------------------------
failat 40
setenv dlinstalldir ""
echo "
"
echo "
Deadlock Issue #10 HD Compatible "
echo "
CLI-Based Installer
(Official Installer coming soon..again)"
echo
echo "
Enter path you wish to install to :
" noline
if "$KickStart" GT "37.00"
if exists "c:requestfile"
c:requestfile drawer "ram:" savemode title="Select path to install to" drawersonly > env:DLInstallDir
echo $dlinstalldir
else
setenv >Nil: DLInstallDir ?
endif
else
setenv >Nil: DLInstallDir ?
endif
if $DLInstallDir EQ ""
echo "Installation aborted by User.."
else
if exists $DLInstallDir
; dir OR file FOUND
LAB Start
cd >NIL: $DLInstallDir
if fail
echo '
Error:
Cannot change directory..'
else
echo "Attempting to install Deadlock #10 to directory"
$DlInstallDir
echo "Copying 'DeadlockArticles10.dat'.." noline
copy dl10:DeadlockArticles10.dat $DLInstallDir
if not warn
echo "Done"
echo "Copying 'DeadlockGFX10.dat'.." noline
copy dl10:DeadlockGFX10.dat $DLInstallDir
if not warn
echo "Done"
echo "Copying 'Deadlock10.exe'.." noline
copy dl10:Deadlock10.exe $DlInstallDir
if not warn
echo "Done"
echo
echo "Creating Script.."
echo assign dl10: $dlinstalldir > Deadlock10
echo "Deadlock will cater for both Normal monitors and Multisync monitors"
echo "the routines vary slightly."
ask "Do you use a Multisync monitor (y/n) :"
if warn
echo "MULTISYNC switch added to Deadlock script"
echo "deadlock10.exe multisync hdinstalled" >> Deadlock10
else
echo "Deadlock will run as normal.."
echo "deadlock10.exe hdinstalled" >> Deadlock10
endif
echo assign dl10: remove >> Deadlock10
echo ";this mag will run from workbench and cli" >> Deadlock10
echo ";but it is better to run from cli. see Readme file for info" >> Deadlock10
copy dl10:Deadlock10.info $dlinstalldir
echo "Install Complete"
else
skip fail
endif
else
skip fail
endif
else
lab fail
echo "Installation failed"
endif
endif
else
echo "could not find $DLInstallDir"
ask "Shall I create '$DLInstallDir' as a directory:"
if warn
echo "Making directory $DLInstallDir.." noline
makedir "$DLInstallDir"
echo "Done"
skip Start BACK
else
echo "Install Aborted by User"
endif
endif
endif